package cn.edu.xmist.adapter.objectpattern;

/**
 * @author zhongjinbin 2021/5/14
 * @since 0.0.1
 */
public class Adapter implements Target {

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        adaptee.doSomething();
    }
}
